package model.didactic;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User: kostika
 * Date: 12/28/12
 * Time: 5:08 PM
 */
public class EditionActivity {
    private int id;
    private int activityTypeId;
    private int activityId;
    private String editionName;
    private String description;
    private Date validFromDate;
    private Date expireDate;
    private boolean enabled;

    public EditionActivity(){
        this(0,0,0,"","",null,null,false);
    }

    public EditionActivity(int id, int activityTypeId, int activityId, String editionName, String description, Date validFromDate, Date expireDate, boolean enabled) {
        this.setId(id);
        this.setActivityTypeId(activityTypeId);
        this.setActivityId(activityId);
        this.setEditionName(editionName);
        this.setDescription(description);
        this.setValidFromDate(validFromDate);
        this.setExpireDate(expireDate);
        this.setEnabled(enabled);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getActivityTypeId() {
        return activityTypeId;
    }

    public void setActivityTypeId(int activityTypeId) {
        this.activityTypeId = activityTypeId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getEditionName() {
        return editionName;
    }

    public void setEditionName(String editionName) {
        this.editionName = editionName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getValidFromDate() {
        return validFromDate;
    }

    public void setValidFromDate(Date validFromDate) {
        this.validFromDate = validFromDate;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
